
<template>
  <div id="subpage">

    <el-col :span="24" class="warp-breadcrum">
      <el-breadcrumb separator="/">
        <el-breadcrumb-item><b>小程序</b></el-breadcrumb-item>
        <el-breadcrumb-item to="/mini_app/manage_smallLesson">小课管理</el-breadcrumb-item>
        <el-breadcrumb-item>弹出层管理</el-breadcrumb-item>
      </el-breadcrumb>
    </el-col>

    <div class="content">
      <div class="xcx-head">
        <span>弹出层管理</span>
        <el-button type="primary" @click="add('')">添加弹出层</el-button>
      </div>
      <div class="xcx-content">
        <!--列表-->
        <el-table border :data="tableData" stripe style="width: 100%">
          <el-table-column prop="image" label="图片" width="500">
            <div slot-scope="scope">
              <img class="img_smallLesson" :src="scope.row.image" alt="">
            </div>
          </el-table-column>
          <el-table-column prop="url" label="链接地址"></el-table-column>
          <el-table-column label="操作">
            <div slot-scope="scope" class="dis_fd font14">
              <span class="text primary" @click="add(scope.row.id)">编辑</span>
              <span class="text danger" @click="del_item(scope.row.id)">删除</span>
            </div>
          </el-table-column>
        </el-table>

        <!--分页-->
        <div class="paging">
          <el-pagination class="left" @current-change="handleCurrentChange" :current-page="page" background layout="prev, pager, next" :total="count"></el-pagination>
          <span class="demonstration left">共 {{ count }} 条 每页10条</span>
        </div>
      </div>
    </div>
  </div>
</template>
<script src="../../../static/js/mini_app/recom.js"></script>

<style scoped>
</style>
